<?php

namespace app\index\model;

use coser\Db;

class ClockModel
{
	/*
	 *[添加]
	 */
	public function add($data)
	{
		$res = Db::name('clock_list')->insert($data);
		return $res;
	}

	/*
	 *[获取列表]
	 */
	public function getList($where)
	{
		$list = Db::name('clock_list')->where($where)->select();
        return $list;
	}
	
	
}